package com.ruoyi.stock.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回归对象 qw_replay
 * 
 * @author ruoyi
 * @date 2023-08-16
 */
public class QwReplay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long replayId;

    /** 宜买 */
    @Excel(name = "宜买")
    private Long bought;

    /** 收盘价格 */
    @Excel(name = "收盘价格")
    private Long closePrice;

    /** 日期 */
    @Excel(name = "日期")
    private String date;

    /** 宜买 */
    @Excel(name = "宜买")
    private Long liteBuy;

    /** 宜卖 */
    @Excel(name = "宜卖")
    private Long liteSell;

    /** 利润 */
    @Excel(name = "利润")
    private Long profit;

    /** 原由 */
    @Excel(name = "原由")
    private String reason;

    /** 卖出 */
    @Excel(name = "卖出")
    private Long sold;

    /** 状态码 */
    @Excel(name = "状态码")
    private Long statusCode;

    /** 号码 */
    @Excel(name = "号码")
    private String stockNum;

    /** 是否成功 */
    @Excel(name = "是否成功")
    private Long success;

    public void setReplayId(Long replayId) 
    {
        this.replayId = replayId;
    }

    public Long getReplayId() 
    {
        return replayId;
    }
    public void setBought(Long bought) 
    {
        this.bought = bought;
    }

    public Long getBought() 
    {
        return bought;
    }
    public void setClosePrice(Long closePrice) 
    {
        this.closePrice = closePrice;
    }

    public Long getClosePrice() 
    {
        return closePrice;
    }
    public void setDate(String date) 
    {
        this.date = date;
    }

    public String getDate() 
    {
        return date;
    }
    public void setLiteBuy(Long liteBuy) 
    {
        this.liteBuy = liteBuy;
    }

    public Long getLiteBuy() 
    {
        return liteBuy;
    }
    public void setLiteSell(Long liteSell) 
    {
        this.liteSell = liteSell;
    }

    public Long getLiteSell() 
    {
        return liteSell;
    }
    public void setProfit(Long profit) 
    {
        this.profit = profit;
    }

    public Long getProfit() 
    {
        return profit;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setSold(Long sold) 
    {
        this.sold = sold;
    }

    public Long getSold() 
    {
        return sold;
    }
    public void setStatusCode(Long statusCode) 
    {
        this.statusCode = statusCode;
    }

    public Long getStatusCode() 
    {
        return statusCode;
    }
    public void setStockNum(String stockNum) 
    {
        this.stockNum = stockNum;
    }

    public String getStockNum() 
    {
        return stockNum;
    }
    public void setSuccess(Long success) 
    {
        this.success = success;
    }

    public Long getSuccess() 
    {
        return success;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("replayId", getReplayId())
            .append("bought", getBought())
            .append("closePrice", getClosePrice())
            .append("date", getDate())
            .append("liteBuy", getLiteBuy())
            .append("liteSell", getLiteSell())
            .append("profit", getProfit())
            .append("reason", getReason())
            .append("sold", getSold())
            .append("statusCode", getStatusCode())
            .append("stockNum", getStockNum())
            .append("success", getSuccess())
            .toString();
    }
}
